package com.spring.hed.factory.adapter;

public class AppTest {
    public static void main(String[] args) {
        String s = "hello are you!";

        WaveForm waveForm = new WaveForm();
        Apply.process(new FilterAdapter(new LowPass(8)),waveForm);

        Apply.process(new FilterAdapter(new HighPass(8)),waveForm);

        Apply.process(new FilterAdapter(new BandPass(1,2)),waveForm);
    }
}
